package pe.edu.upc.xcode.login.rs;

import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;

import org.apache.cxf.jaxrs.JAXRSBindingFactory;
import org.springframework.stereotype.Service;

import pe.edu.upc.xcode.login.domain.Usuario;

@Service("loginService")
@Produces("text/plain")
public class LoginRSImpl implements LoginRS {
    /* (non-Javadoc)
	 * @see pe.edu.upc.xcode.login.rs.LoginRS#autenticar(java.lang.String, java.lang.String)
	 */
    @GET
    @Path("/login/{usuario}/{password}")
    public String autenticar(@PathParam("usuario") String usuario,@PathParam("password") String password)
    {
       return "usuario";
    }
}
